LowerCase (str)

LowerCase and LCase (str) are equivalent functions. However, LowerCase is preferred in Crystal syntax, whereas LCase is preferred in Basic syntax.

Arguments

x is a text value.

Returns

Text String

Action

LowerCase returns the given text value in all lower case letters.

Typical uses

A good use of this function is when a field contains both uppercase and lowercase letters and you want to convert all letters to lowercase for consistency.

Examples

The following examples are applicable to both Basic and Crystal syntax, although LCase is preferred in the latter:

LowerCase("Description")

Returns "description".

LowerCase({customer.FIRST NAME})

Returns "ronald", where {customer.FIRST NAME} is "Ronald".

LowerCase("Ronald Black")

Returns "ronald black".

LowerCase("ABC12345")

Returns "abc12345".

LowerCase("BrEaD " + "AND " + "bUtTeR")

Returns "bread and butter".

Comments

Numbers that are part of the text are not affected by the LowerCase function.

Related topics

UpperCase (str)



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com